package com.aaa.book_mall.dao;

import com.aaa.book_mall.entity.OutAudit;

import java.util.List;
import java.util.Map;

/**
 * @Description: t_audit表接口
 * @ClassName: OutAuditDao
 * @Author: fengyun
 * @Date: 2021/1/20 22:14
 * @Version: 1.0
 */
public interface OutAuditDao {
    /* *
     *  向审核记录表中添加数据
     * @param outAudit
     * @return int
     * @date 2021/1/20 22:16
     */
    int insertInfo(OutAudit outAudit);

    /* *
     *   查询所有的审核记录
     * @return java.util.List<java.util.Map<java.lang.String,java.lang.Object>>
     * @date 2021/1/21 16:29
     */
    List<Map<String,Object>> selectAllAudit(OutAudit outAudit);

    /* *
     *   查询审核记录表中数据总数
     * @return int
     * @date 2021/1/21 16:47
     */
    int countAudit();
}
